package com.yt.user.models.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import com.yt.common.dto.BaseDTO;

/**
 * 客户手机号关联关系DTO
 *
 * @author yzz
 * @Date 2025-10-22 09:43:35
 */
@Data
@TableName("customer_phone")
@ApiModel(value="客户手机号关联关系对象", description="客户手机号关联关系对象")
public class CustomerPhoneDTO extends BaseDTO implements Serializable {

    @TableId(value = "id")
    private Long id;
    
    @ApiModelProperty(value = "客户ID（外键，关联customer_info表）")
    private String customerId;
    @ApiModelProperty(value = "手机号（外键，关联user_info表）")
    private String phone;
    
    // 排除基类中的字段，因为数据库表中没有这些字段
    @TableField(exist = false)
    private Date createTime;
    
    @TableField(exist = false)
    private Date updateTime;
    
    @TableField(exist = false)
    private Integer revision;
}